package cn.tcmp.service;

import cn.tcmp.dao.SortMapper;
import cn.tcmp.entity.Sort;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SortServiceImpl implements SortService {

    @Autowired
    private SortMapper sortMapper;

    @Override
    public List<Sort> queryById() {
        return sortMapper.selectList(null);
    }
}
